<?php
	$openid = getRequest('oid');
	if(empty($openid)){
		Log_Log::write("openid is null,--end--\r\n");
		exit('-1');
	}
	
	
	$ret = User_Point::getUserPoint($openid);
	Log_Log::write("Success Request:".json_encode($_REQUEST).",Return:".json_encode($ret)."\r\n");
	exit(json_encode($ret));